<block name="header"></block>
<div id="main-container" class="container">
   <block name="body"></block>
</div>

<script type="text/javascript">
    $(function(){
        $(window).resize(function(){
            $("#main-container").css("min-height", $(window).height() - 343);
        }).resize();
    })
</script>